import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);

import home from './components/home/home.vue';
import projectBuild from './components/PM/pm_projectBuild.vue';
import projectUpdate from './components/PM/pm_projectUpdate.vue';
import projectTraceSignIn from './components/PM/pm_projectTrace_signIn.vue';
import projectTraceInvite from './components/PM/pm_projectTrace_invite.vue';
import projectTraceJoin from './components/PM/pm_projectTrace_join.vue';
import projectTraceOfferIn from './components/PM/pm_projectTrace_offerIn.vue';
import projectTraceOfferOut from './components/PM/pm_projectTrace_offerOut.vue';
import dataImport from './components/PM/pm_dataImport.vue';
import dataCheck from './components/PM/pm_dataCheck.vue';
import dataReplace from './components/PM/pm_dataReplace.vue';
import rightsManagementDate from './components/PM/pm_rightsManagement_date.vue';
import rightsManagementSpecial from './components/PM/pm_rightsManagement_special.vue';

import notice from './components/headerOption/notice.vue';
import option from './components/headerOption/option.vue';

export default new VueRouter({
    // mode: 'history',
    routes: [
        {name:'home',path:'/',component:home},
        {name:'projectBuild',path:'/projectBuild',component:projectBuild},
        {name:'projectUpdate',path:'/projectUpdate',component:projectUpdate},
        {name:'projectTraceSignIn',path:'/projectTraceSignIn',component:projectTraceSignIn},
        {name:'projectTraceInvite',path:'/projectTraceInvite',component:projectTraceInvite},
        {name:'projectTraceJoin',path:'/projectTraceJoin',component:projectTraceJoin},
        {name:'projectTraceOfferIn',path:'/projectTraceOfferIn',component:projectTraceOfferIn},
        {name:'projectTraceOfferOut',path:'/projectTraceOfferOut',component:projectTraceOfferOut},
        {name:'dataImport',path:'/dataImport',component:dataImport},
        {name:'dataCheck',path:'/dataCheck',component:dataCheck},
        {name:'dataReplace',path:'/dataReplace',component:dataReplace},
        {name:'rightsManagementDate',path:'/rightsManagementDate',component:rightsManagementDate},
        {name:'rightsManagementSpecial',path:'/rightsManagementSpecial',component:rightsManagementSpecial},

        {name:'notice',path:'/notice',component:notice},
        {name:'option',path:'/option',component:option},
        {name:'logout',path:'/logout',redirect:'/'},
    ],
});